using System.Collections.Generic;

namespace CHEnhanceEfCore.Config.MQ.config
{
    public class ExchangeConfig
    {
        public string exchangeName { get; set; }
        /// <summary>
        /// type: direct fanout headers topic
        /// </summary>
        public string type { get; set; }
        public bool durable { get; set; } = false;
        public bool autoDelete { get; set; } = false;
        public Dictionary<string, object> arguments { get; set; } = new();
    }
}